package com.example.demo;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/CMD")
public class CMDController {

    @PostMapping("/cookie/cmd.do")
    public String executeCommand(@RequestParam String cmd) {
        return "Executed: " + cmd;
    }
}

